//---------------------------------------------------------------------------

#ifndef dm_KiloutouH
#define dm_KiloutouH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Db.hpp>
#include <IBCustomDataSet.hpp>
#include <IBDatabase.hpp>
#include <IBQuery.hpp>
#include <IBTable.hpp>
#include <IBUpdateSQL.hpp>
#include "IBScript.hpp"
//---------------------------------------------------------------------------
class TdmKiloutou : public TDataModule
{
__published:	// Composants gérés par l'EDI
    TIBDatabase *dbKiloutou;
    TIBTransaction *trKiloutou;
    TDataSource *dsLocation;
    TIBTable *tClient;
    TIBTable *tMateriel;
    TIBDataSet *dsetLocation;
    TIBStringField *tClientNOM;
    TIBStringField *tClientPRENOM;
    TIntegerField *tClientAGE;
    TIBTable *tCamion;
    TIBBCDField *tCamionPOIDSTOTAL;
    TIBBCDField *tCamionPOIDSTRANSPORTABLE;
    TIBStringField *tMaterielNOM;
    TBlobField *tMaterielDESCRIPTION;
    TIBBCDField *tMaterielPRIX;
    TIntegerField *tMaterielTYPE_MATERIEL;
    TAutoIncField *tMaterielCODE_MATERIEL;
    TIBTable *tTondeuse;
    TAutoIncField *tTondeuseCODE_MATERIEL;
    TIBTable *tPelleteuse;
    TIBBCDField *tPelleteusePOIDSTOTAL;
    TIBTable *tLocation;
    TDataSource *dsClient;
    TDataSource *dsMateriel;
    TIntegerField *tPelleteuseCODE_MATERIEL;
    TIntegerField *tClientCODE_CLIENT;
    TIntegerField *tLocationCODE_CLIENT;
    TIntegerField *tLocationCODE_MATERIEL;
    TDateTimeField *tLocationDEBUT_LOCATION;
    TDateTimeField *tLocationRETOUR_LOCATION;
    TIntegerField *tLocationCODE_LOCATION;
    TIBBCDField *tTondeuseVITESSE;
    TIntegerField *tCamionCODE_MATERIEL;
    TIntegerField *dsetLocationCODE_LOCATION;
    TIBStringField *dsetLocationNOM;
    TIBStringField *dsetLocationPRENOM;
    TIBStringField *dsetLocationNOM1;
    TDateTimeField *dsetLocationDEBUT_LOCATION;
    TDateTimeField *dsetLocationRETOUR_LOCATION;
private:	// Déclarations utilisateur
public:		// Déclarations utilisateur
    __fastcall TdmKiloutou(TComponent* Owner);
    void __fastcall ActiveTables( void );
};
//---------------------------------------------------------------------------
extern PACKAGE TdmKiloutou *dmKiloutou;
//---------------------------------------------------------------------------
#endif
